package com.zr.vo.finance;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zr.vo.BaseVo;
import com.zr.vo.order.OrderForm;
import java.util.Date;
import java.util.List;

public class FinanceStatement extends BaseVo {

    //自增id
    private Integer id;

    //对账单Id
    private String statementId;

    //是否对账
    private String checked;

    //客户名称
    private String client;

    //客户id
    private String customerId;

    //币种
    private String currency;

    //对账单总额
    private Float total;

    //税率
    private Integer tax;

    //关联订单对象集合
    private List<OrderForm> relationOrders;

    //关联收入集合
    private List<FinanceIncome> incomes;

    //自增id录入人员
    private String createUser;

    //录入时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;

    //对账时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date checkedTime;

    //已收金额
    private Float checkedMoney;

    //发票号
    private String invoiceId;

    //是否开票
    private String checkedInvoice;

    //修改时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date modifyTime;

    //修改人员
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private String modifyUser;

    private String backup1;

    private String backup2;

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public List<FinanceIncome> getIncomes() {
        return incomes;
    }

    public void setIncomes(List<FinanceIncome> incomes) {
        this.incomes = incomes;
    }

    public List<OrderForm> getRelationOrders() {
        return relationOrders;
    }

    public void setRelationOrders(List<OrderForm> relationOrders) {
        this.relationOrders = relationOrders;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStatementId() {
        return statementId;
    }

    public void setStatementId(String statementId) {
        this.statementId = statementId == null ? null : statementId.trim();
    }

    public String getChecked() {
        return checked;
    }

    public void setChecked(String checked) {
        this.checked = checked == null ? null : checked.trim();
    }

    public String getClient() {
        return client;
    }

    public void setClient(String client) {
        this.client = client == null ? null : client.trim();
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency == null ? null : currency.trim();
    }

    public Float getTotal() {
        return total;
    }

    public void setTotal(Float total) {
        this.total = total;
    }

    public Integer getTax() {
        return tax;
    }

    public void setTax(Integer tax) {
        this.tax = tax;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getCheckedTime() {
        return checkedTime;
    }

    public void setCheckedTime(Date checkedTime) {
        this.checkedTime = checkedTime;
    }

    public Float getCheckedMoney() {
        return checkedMoney;
    }

    public void setCheckedMoney(Float checkedMoney) {
        this.checkedMoney = checkedMoney;
    }

    public String getInvoiceId() {
        return invoiceId;
    }

    public void setInvoiceId(String invoiceId) {
        this.invoiceId = invoiceId == null ? null : invoiceId.trim();
    }

    public String getCheckedInvoice() {
        return checkedInvoice;
    }

    public void setCheckedInvoice(String checkedInvoice) {
        this.checkedInvoice = checkedInvoice == null ? null : checkedInvoice.trim();
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getModifyUser() {
        return modifyUser;
    }

    public void setModifyUser(String modifyUser) {
        this.modifyUser = modifyUser == null ? null : modifyUser.trim();
    }

    public String getBackup1() {
        return backup1;
    }

    public void setBackup1(String backup1) {
        this.backup1 = backup1 == null ? null : backup1.trim();
    }

    public String getBackup2() {
        return backup2;
    }

    public void setBackup2(String backup2) {
        this.backup2 = backup2 == null ? null : backup2.trim();
    }
}